<!DOCTYPE html>
<html lang="zh-CN">
    <head>
	<meta name="generator" content="Hugo 0.112.7">
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="robots" content="noodp" />
        <title>个人博客</title><meta name="Description" content=""><meta property="og:title" content="个人博客" />
<meta property="og:description" content="" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://test2782.github.io/" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="个人博客"/>
<meta name="twitter:description" content=""/>
<meta name="application-name" content="test4">
<meta name="apple-mobile-web-app-title" content="test4"><meta name="theme-color" content="#ffffff"><meta name="msapplication-TileColor" content="#da532c"><link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
        <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
        <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"><link rel="manifest" href="/site.webmanifest"><link rel="canonical" href="https://test2782.github.io/" /><link rel="alternate" href="/index.xml" type="application/rss+xml" title="个人博客">
    <link rel="feed" href="/index.xml" type="application/rss+xml" title="个人博客"><link rel="stylesheet" href="/css/style.min.css"><link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.1/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
        <noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.1/css/all.min.css"></noscript><link rel="preload" href="https://cdn.jsdelivr.net/npm/animate.css@4.1.1/animate.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
        <noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@4.1.1/animate.min.css"></noscript><script type="application/ld+json">
    {
        "@context": "http://schema.org",
        "@type": "WebSite",
        "url": "https:\/\/test2782.github.io\/","inLanguage": "zh-CN","author": {
                "@type": "Person",
                "name": "修篁"
            },"name": "个人博客"
    }
    </script></head>
    <body data-header-desktop="fixed" data-header-mobile="auto"><script type="text/javascript">(window.localStorage && localStorage.getItem('theme') ? localStorage.getItem('theme') === 'dark' : ('auto' === 'auto' ? window.matchMedia('(prefers-color-scheme: dark)').matches : 'auto' === 'dark')) && document.body.setAttribute('theme', 'dark');</script>

        <div id="mask"></div><div class="wrapper"><header class="desktop" id="header-desktop">
    <div class="header-wrapper">
        <div class="header-title">
            <a href="/" title="个人博客">博客首页</a>
        </div>
        <div class="menu">
            <div class="menu-inner"><a class="menu-item" href="/posts/"> 文章 </a><a class="menu-item" href="/tags/"> 标签 </a><a class="menu-item" href="/categories/"> 分类 </a><a class="menu-item" href="/about/"> 关于 </a><span class="menu-item delimiter"></span><a href="javascript:void(0);" class="menu-item theme-switch" title="Switch Theme">
                    <i class="fas fa-adjust fa-fw" aria-hidden="true"></i>
                </a></div>
        </div>
    </div>
</header><header class="mobile" id="header-mobile">
    <div class="header-container">
        <div class="header-wrapper">
            <div class="header-title">
                <a href="/" title="个人博客">博客首页</a>
            </div>
            <div class="menu-toggle" id="menu-toggle-mobile">
                <span></span><span></span><span></span>
            </div>
        </div>
        <div class="menu" id="menu-mobile"><a class="menu-item" href="/posts/" title="">文章</a><a class="menu-item" href="/tags/" title="">标签</a><a class="menu-item" href="/categories/" title="">分类</a><a class="menu-item" href="/about/" title="">关于</a><a href="javascript:void(0);" class="menu-item theme-switch" title="Switch Theme">
                <i class="fas fa-adjust fa-fw" aria-hidden="true"></i>
            </a></div>
    </div>
</header><main class="main">
                <div class="container"><div class="page home" data-home="posts"><div class="home-profile"><div class="home-avatar"><a href="/posts/" title="文章"><img
        class="lazyload"
        src="/svg/loading.min.svg"
        data-src="/images/avatar.jpg"
        data-srcset="/images/avatar.jpg, /images/avatar.jpg 1.5x, /images/avatar.jpg 2x"
        data-sizes="auto"
        alt="/images/avatar.jpg"
        title="/images/avatar.jpg" /></a></div><h1 class="home-title">修篁的个人博客</h1><div class="home-subtitle"><div id="id-1" class="typeit"></div></div><div class="links"><a href="https://github.com/test2782" title="GitHub" target="_blank" rel="noopener noreffer me"><i class="fab fa-github fa-fw" aria-hidden="true"></i></a><a href="https://gitee.com/xiuhuang" title="Gitee" target="_blank" rel="noopener noreffer me"><i class="fab fa-gitlab fa-fw" aria-hidden="true"></i></a><a href="https://blog.csdn.net/qq_43544461" title="CSDN" target="_blank" rel="noopener noreffer me"><i class="fab fa-stack-overflow fa-fw" aria-hidden="true"></i></a><a href="https://steamcommunity.com/id/1043528155" title="Steam" target="_blank" rel="noopener noreffer me"><i class="fab fa-steam fa-fw" aria-hidden="true"></i></a><a href="https://space.bilibili.com/10113008" title="bilibili" target="_blank" rel="noopener noreffer me"><i data-svg-src="https://cdn.jsdelivr.net/npm/simple-icons@7.3.0/icons/bilibili.svg" aria-hidden="true"></i></a></div></div>
<article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
        <a href="/posts/%E9%9A%8F%E7%AC%9401/">随笔01</a>
    </h1><div class="post-meta"><span class="post-author"><a href="/about/" title="Author" rel="author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>修篁</a></span>&nbsp;<span class="post-publish">published on <time datetime="2024-10-24">2024-10-24</time></span></div><div class="content">前言 许多人的一生写于纸上，不过寥寥数行，大多还是些无聊的故事罢了。 正文 “听说了吗，等会儿就要公布调岗名单了。” “也是，校招的新一批大学生就要</div><div class="post-footer">
        <a href="/posts/%E9%9A%8F%E7%AC%9401/">Read More</a></div>
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
        <a href="/posts/2023/">2023</a>
    </h1><div class="post-meta"><span class="post-author"><a href="/about/" title="Author" rel="author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>修篁</a></span>&nbsp;<span class="post-publish">published on <time datetime="2023-12-31">2023-12-31</time></span></div><div class="content">没什么好说的，还是老样子，无惊无喜的一年。 好想玩地球ol破解版啊！ 妈的忍不了，一拳把地球打爆。</div><div class="post-footer">
        <a href="/posts/2023/">Read More</a></div>
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
        <a href="/posts/%E5%AE%9E%E9%AA%8C%E8%AE%B0%E5%BD%952-001-2023-9-12/">实验记录2-001-2023-9-12</a>
    </h1><div class="post-meta"><span class="post-author"><a href="/about/" title="Author" rel="author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>修篁</a></span>&nbsp;<span class="post-publish">published on <time datetime="2023-09-12">2023-09-12</time></span></div><div class="content">项目简介 保密级别：D级 项目名称：2-001 项目描述：一般而言被称作概率对撞机。来源不明，于XX日出现在▇▇的个人博客网站上，并可编辑部分▇▇</div><div class="post-footer">
        <a href="/posts/%E5%AE%9E%E9%AA%8C%E8%AE%B0%E5%BD%952-001-2023-9-12/">Read More</a></div>
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
        <a href="/posts/my-third-post/">My Third Post</a>
    </h1><div class="post-meta"><span class="post-author"><a href="/about/" title="Author" rel="author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>修篁</a></span>&nbsp;<span class="post-publish">published on <time datetime="2023-07-04">2023-07-04</time></span></div><div class="content">test1 test2 test3 Lighthouse (figure) </div><div class="post-footer">
        <a href="/posts/my-third-post/">Read More</a></div>
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
        <a href="/posts/my-second-post/">My Second Post</a>
    </h1><div class="post-meta"><span class="post-author"><a href="/about/" title="Author" rel="author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>修篁</a></span>&nbsp;<span class="post-publish">published on <time datetime="2023-06-29">2023-06-29</time></span></div><div class="content">简介 视频</div><div class="post-footer">
        <a href="/posts/my-second-post/">Read More</a></div>
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
        <a href="/posts/my-first-post/">My First Post</a>
    </h1><div class="post-meta"><span class="post-author"><a href="/about/" title="Author" rel="author" class="author"><i class="fas fa-user-circle fa-fw" aria-hidden="true"></i>修篁</a></span>&nbsp;<span class="post-publish">published on <time datetime="2023-06-02">2023-06-02</time></span></div><div class="content">Introduction This is my first Hugo Blog , and I will try to write it.</div><div class="post-footer">
        <a href="/posts/my-first-post/">Read More</a></div>
</article><ul class="pagination"><li class="page-item active">
                    <span class="page-link">
                        <a href="/">1</a>
                    </span>
                </li><li class="page-item ">
                    <span class="page-link">
                        <a href="/page/2/">2</a>
                    </span>
                </li></ul></div></div>
            </main><footer class="footer">
        <div class="footer-container">
            <div class="footer-line">
                <form>
		            <label>有</label>
                    <input type="text" id="arrAddRed" name="arrAddRed" size="16px">
                    <input type="text" id="arrAddBlue" name="arrAddBlue" size="8px">
                    <br>
                    <label>无</label>
                    <input type="text" id="arrDelRed" name="arrDelRed" size="16px">
                    <input type="text" id="arrDelBlue" name="arrDelBlue" size="8px">                    
                    <br>
                    <input type="button" value="生成" onclick="SSQNew()">
                    <input type="text" id="arr" name="arr">
                    <input type="button" value="反转" onclick="SSQNewFZ()">
                    <p id="result"></p>
                </form>
                <script>
                    function SSQ() {
                        var arr = new Array();
                        while(arr.length < 6){
                            var result = Math.floor(Math.random() * 33) + 1;
                            if (!arr.includes(result)){
                                arr.push(result);
                            }  
                        }
                        arr.sort(function (a, b) {
                            return a - b
                        });
                        var result = Math.floor(Math.random() * 16) + 1;
                        arr.push(result);
                        document.getElementById("result").innerHTML = "神秘代码：" + arr;
                    }
            
                    function SSQNew(){
			            var valueAddRed = document.getElementById("arrAddRed").value;
                        var arrAddRed = valueAddRed.split(',');
                        var valueAddBlue = document.getElementById("arrAddBlue").value;
                        var arrAddBlue = valueAddBlue.split(',');
                        var valueDelRed = document.getElementById("arrDelRed").value;
                        var arrDelRed = valueDelRed.split(',');
                        var valueDelBlue = document.getElementById("arrDelBlue").value;
                        var arrDelBlue = valueDelBlue.split(',');
                        
                        if (valueAddRed == null && valueAddBlue == null && valueDelRed == null && valueDelBlue == null)
                        {
                            var arr = [];
                            for (var i = 1; i <= 33; i++) {
                                arr.push(i);
                            }
                            var arrValue = new Array();
                            while(arrValue.length < 6){
                                var randomIndex = Math.floor(Math.random() * arr.length);
                                var randomNum = arr[randomIndex];
                                arrValue.push(randomNum);
                                arr.splice(randomIndex, 1)[0];
                            }
                            arrValue.sort(function (a, b) {
                                return a - b
                            });
                            var result = Math.floor(Math.random() * 16) + 1;
                            arrValue.push(result);
                            document.getElementById("arr").value = arrValue.toString();
                        }else
                        {
                            var arrRed = [];
                            for (var i = 1; i <= 33; i++) {
                                arrRed.push(i);
                            }
                            var arrBlue = [];
                            for (var i = 1; i <= 16; i++) {
                                arrBlue.push(i);
                            }
                            for (var i = 0; i < arrDelRed.length; i++) {
                                arrRed = arrRed.filter(item => item !== parseInt(arrDelRed[i]));
                            }
                            for (var i = 0; i < arrDelBlue.length; i++) {
                                arrBlue = arrBlue.filter(item => item !== parseInt(arrDelBlue[i]));
                            }

                            if (arrAddRed != null && arrAddRed.length >= 6)
                            {
                                arrRed = arrAddRed;
                            }
                            if (arrAddBlue != null && arrAddBlue != "")
                            {
                                arrBlue = arrAddBlue;
                            }

                            var arrValue = new Array();
                            if (arrAddRed != null && arrAddRed != "" && arrAddRed.length < 6)
                            {
                                for (var i = 0; i < arrAddRed.length; i++) {
                                    arrValue.push(arrAddRed[i]);
                                    arrRed = arrRed.filter(item => item !== parseInt(arrAddRed[i]));
                                }
                            }
                            while(arrValue.length < 6){
                                var randomIndex = Math.floor(Math.random() * arrRed.length);
                                var randomNum = arrRed[randomIndex];
                                arrValue.push(randomNum);
                                arrRed.splice(randomIndex, 1)[0];
                            }
                            arrValue.sort(function (a, b) {
                                return a - b
                            });
                            var result = arrBlue[Math.floor(Math.random() * arrBlue.length)];
                            arrValue.push(result);
                            document.getElementById("arr").value = arrValue.toString();
                        }
                    }

                    function SSQNewFZ(){
                        var arrRed = [];
                        for (var i = 1; i <= 33; i++) {
                            arrRed.push(i);
                        }
                        var arrBlue = [];
                        for (var i = 1; i <= 16; i++) {
                            arrBlue.push(i);
                        }
                        var value = document.getElementById("arr").value;
                        var arrDel = value.split(',');
                        for (var i = 0; i < arrDel.length-1; i++) {
                            arrRed = arrRed.filter(item => item !== parseInt(arrDel[i]));
                        }
                        arrBlue = arrBlue.filter(item => item !== parseInt(arrDel[arrDel.length-1]));
                        var arrValue = new Array();
                        while(arrValue.length < 6){
                            var randomIndex = Math.floor(Math.random() * arrRed.length);
                            var randomNum = arrRed[randomIndex];
                            arrValue.push(randomNum);
                            arrRed.splice(randomIndex, 1)[0];
                        }
                        arrValue.sort(function (a, b) {
                            return a - b
                        });
                        var result = arrBlue[Math.floor(Math.random() * arrBlue.length)];
                        arrValue.push(result);
                        document.getElementById("arr").value = arrValue.toString();
                    }
            
                    function DLT() {
                        var arr = new Array();
                        while(arr.length < 5){
                            var result = Math.floor(Math.random() * 35) + 1;
                            if (!arr.includes(result)){
                                arr.push(result);
                            }  
                        }
                        arr.sort(function (a, b) {
                            return a - b
                        });
                        var result = Math.floor(Math.random() * 12) + 1;
                        arr.push(result);
                        while(arr.length < 7){
                            var result2 = Math.floor(Math.random() * 12) + 1;
                            if (result2 != result && result2 > result){
                                arr.splice(arr.length,0,result2);
                            }else if(result2 != result && result2 < result){
                                arr.splice(arr.length-1,0,result2);
                            }  
                        }
                        document.getElementById("result").innerHTML = "神秘代码：" + arr;
                    }
            
                    function DLTNew() {
                        var arrRed = [];
                        for (var i = 1; i <= 35; i++) {
                            arrRed.push(i);
                        }
                        var arrBlue = [];
                        for (var i = 1; i <= 12; i++) {
                            arrBlue.push(i);
                        }            
                        var arrValue = new Array();
                        while(arrValue.length < 5){
                            var randomIndex = Math.floor(Math.random() * arrRed.length);
                            var randomNum = arrRed[randomIndex];
                            arrValue.push(randomNum);
                            arrRed.splice(randomIndex, 1)[0];
                        }
                        arrValue.sort(function (a, b) {
                            return a - b
                        });
                        var randomIndex = Math.floor(Math.random() * 12);
                        var result1 = arrBlue[randomIndex];
                        arrValue.push(result1);
                        arrBlue.splice(result1, 1)[0];
                        while(arrValue.length < 7){
                            var randomIndex = Math.floor(Math.random() * arrBlue.length);
                            var result2 = arrBlue[randomIndex];
                            if(result2 > result1){
                                arrValue.splice(arrValue.length,0,result2);
                            }else if(result2 < result1){
                                arrValue.splice(arrValue.length-1,0,result2);
                            }
                        }
                        document.getElementById("result").innerHTML = "New神秘代码：" + arrValue;
                    }
                </script>
            </div>
            <div class="footer-line">Powered by <a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo 0.112.7">Hugo</a> | Theme - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt 0.2.11"><i class="far fa-kiss-wink-heart fa-fw" aria-hidden="true"></i> LoveIt</a>
                </div><div class="footer-line" itemscope itemtype="http://schema.org/CreativeWork"><i class="far fa-copyright fa-fw" aria-hidden="true"></i><span itemprop="copyrightYear">2022 - 2024</span><span class="author" itemprop="copyrightHolder">&nbsp;<a href="/about/" target="_blank">修篁</a></span></div>
        </div>
    </footer></div>

        <div id="fixed-buttons"><a href="#" id="back-to-top" class="fixed-button" title="Back to Top">
                <i class="fas fa-arrow-up fa-fw" aria-hidden="true"></i>
            </a><a href="#" id="view-comments" class="fixed-button" title="View Comments">
                <i class="fas fa-comment fa-fw" aria-hidden="true"></i>
            </a>
        </div><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/lazysizes@5.3.2/lazysizes.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/typeit@8.6.0/dist/index.umd.js"></script><script type="text/javascript">window.config={"code":{"copyTitle":"Copy to clipboard","maxShownLines":50},"data":{"id-1":"不徒语 不妄动 不苟求 不虚行"},"typeit":{"cursorChar":"|","cursorSpeed":1000,"data":{"id-1":["id-1"]},"duration":-1,"speed":100}};</script><script type="text/javascript" src="/js/theme.min.js"></script></body>
</html>
